package com.bus.product.config;


import com.bus.core.events.order.OrderRemoteEventListener;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
public class AppConfig {

    @Value("${zhan.app.id}")
    private String appId;


    @Bean
    public OrderRemoteEventListener orderRemoteEventListener(){
        return new OrderRemoteEventListener();
    }

}
